package com.syg.order.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


public class OrderController {

    /**
     * 调用原生的http接口
     * @return
     */
    @GetMapping("/stock/deduct")
    public String deductStock(@RequestParam("productId") Long productId,
                              @RequestParam("stockCount") Long stockCount) {
        return "";
    }
}
